

#ifndef _SHELL_RESHIREPLAYERLIST_MESSAGE_H_
#define _SHELL_RESHIREPLAYERLIST_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "MyHireBean.h"
//#include <vector>
using namespace std;

class ResHirePlayerListMessage : public Message
{
	public:
	ResHirePlayerListMessage();
	~ResHirePlayerListMessage();
	void reset();
	ResHirePlayerListMessage* clone();
	static const int _ID;
	//我雇佣的所有玩家
	vector<MyHireBean*> myHireBeans;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
